package com.example.demo.service;

import com.example.demo.pojo.Staff;

import java.util.List;

//员工方法
public interface StaffService {
    List<Staff> selectStaffAllByStore(Integer shopID);
    List<Staff> selectAllStaffById(Integer staffId);
    List<Staff> selectAllStaffByName(String staffName);
    public void insertStaff(String name,String mail, String pos,Integer shopID);
    public void updateStaffById(Integer staffId,String name,String mail, String pos,Integer shopID);
    public void updateStaffByName(String name,String mail, String pos,Integer shopID);

    public void deleteStaffById(Integer staffId);
    public void deleteStaffByName(String name);
}
